home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.programming / comp.sys.amiga.programmer_32844_000059.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  2.4 KB  |  53 lines

  1. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc,comp.sys.amiga.advocacy
  2. Path: news.chalmers.se!sunic!pipex!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!stepsun.uni-kl.de!uklirb.informatik.uni-kl.de!feck
  3. From: feck@informatik.uni-kl.de (Christoph Feck IRZ)
  4. Subject: ScrollerWindow source in alt.sources.amiga
  5. Message-ID: <1994May27.003146@informatik.uni-kl.de>
  6. Sender: news@uklirb.informatik.uni-kl.de (Unix-News-System)
  7. Nntp-Posting-Host: uklira.informatik.uni-kl.de
  8. Organization: University of Kaiserslautern, Germany
  9. Date: Thu, 26 May 1994 22:31:46 GMT
  10. Lines: 40
  11. Xref: news.chalmers.se comp.sys.amiga.programmer:32844 comp.sys.amiga.misc:34074 comp.sys.amiga.advocacy:66947
  12.  
  13. There has been recently a discussion in csa.advocacy (and
  14. csa.misc) about the look of Intuitions window borders and
  15. gadgets.  People complained about the 'squished' look in
  16. interlaced modes (or other highres modes with 1:1 aspect).
  17.  
  18. Indeed this is a problem that needs to be addressed in a
  19. future OS release.  There is, however, a hack on aminet,
  20. which hacks around with Intuition and makes the sizegadget
  21. and the horizontal WB scrollers look 'right' in those 1:1
  22. modes without requiring a new OS.
  23.  
  24. Sadly enough, only a few programs work right with this
  25. hack, because it assumes that the programs do the 'right'
  26. thing, and ask the OS about the dimensions of the sizing
  27. and arrow images.  Instead, these programs insist on using
  28. hardcoded values (Workbench 2.0 itself is such a bad guy,
  29. but Workbench 3.0 and MultiView seem to work perfectly
  30. well with this hack).
  31.  
  32. Creating a complete size adaptive layout is not as simple
  33. as using hardcoded values.  That is understood.  Because
  34. of this, I have released an example program in alt.sources
  35. .amiga, which performs this task (written in C).  It adds
  36. the four arrow gadgets and uses BOOPSI, too.
  37.  
  38. It also should answer the very often asked question of how
  39. to create 'those Workbench 3d sliders', because it isn't
  40. possible e.g. with gadtools, and needs some knowledge about
  41. Intuitions gadget relativity flags.
  42.  
  43. May this program help developers upgrading their programs
  44. to handle gadgetsize sensitive window layout.  I will also
  45. put it on Aminet, for those who can't access the alt groups
  46. (should show up in dev/src).
  47.  
  48. Have fun,
  49. Christoph
  50.  
  51. 3k// Christoph Feck, TowerSystems - BOOPSI Class Development
  52. \X/ Amiga - Intuition inside.
  53.